package com.shycloud.mido.homework.mapper;

import com.shycloud.mido.homework.api.entity.MidoHomeworkMain;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shycloud.mido.homework.api.entity.MidoHomeworkComplate;
import com.shycloud.mido.homework.api.vo.MusicRankVO;

public interface MidoHomeworkComplateMapper extends BaseMapper<MidoHomeworkComplate> {

	List<MusicRankVO> getMusicRank(@Param("musicId") Integer musicId,
			@Param("limit") Integer limit);

	MidoHomeworkMain getHomeworkBest(@Param("homewordId") Long homewordId);
}